#include "Wire.h"
#include "CMPS03.h"

#include "WProgram.h"
void setup();
void loop();
CMPS03 cmps03;

void setup()
{
  Serial.begin(9600);
  
  pinMode(16,OUTPUT);
  pinMode(17,OUTPUT);
  
  digitalWrite(16,LOW);
  digitalWrite(17,HIGH);
  
  Wire.begin();
}

void loop()
{
  Serial.println( (cmps03.read())/10);
  delay(1000);
}

int main(void)
{
	init();

	setup();
    
	for (;;)
		loop();
        
	return 0;
}

